package Design_patterns.creator_mode.builder.demo1;

/**
 * @description: 抽象类
 **/

public abstract class Builder {
    //声明Bike类型变量并赋值
    protected Bike bike = new Bike();

    //构建车架
    public abstract void buildFrame();

    //构建车座
    public abstract void buildSeat();

    //构建自行车方法
    public abstract Bike createBike();

}
